#include <51func.h>
int main(int argc, char *argv[])
{
    // ./0_open_twice file1
    ARGS_CHECK(argc,2);
    int fd1 = open(argv[1],O_WRONLY);
    int fd2 = open(argv[1],O_WRONLY);
    write(fd1,"hello",5);
    write(fd2,"world",5);
    return 0;
}

